package com.ncu.constant;

/**
 * redis常量
 *
 */
public class RedisConst {

    /**
     * 验证码过期时间
     */
    public static final long CODE_EXPIRE_TIME = 30 * 60;

    /**
     * 验证码
     */
    public static final String USER_CODE_KEY = "code:";

    /**
     * 用户权限列表
     */
    public static final String USER_RESOURCE_KEY = "UserResource::";

    /**
     * 有效的token列表
     */
    public static final String TOKEN_ALLOW_LIST = "token:";

    public static final Integer HOUR = 24*60*60;
    /**
     *
     */
    public static final String LOGIN = "login:";



}
